package com.chen.script.utils;

import cn.hutool.http.HttpUtil;

/**
 * @author ChenJinLong
 */
public class DownloadFileUtil {

    public static void main(String[] args) {
        String url = "https://cdnjs.cloudflare.com/ajax/libs/xlsx/0.18.5/xlsx.full.min.js";
        String target = "C:\\Users\\Administrator\\Desktop\\xlsx.full.min.js";
        HttpUtil.downloadFile(url, target);
    }
}
